package com.pcitc.boot.controller;

import com.pcitc.boot.model.User;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @RequestMapping("/getHello")
    public User getUser() {
        User user = new User();
        user.setUserName("xiaoming");
        user.setPassWord("1234324242");

        return user;
    }

}
